<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>指尖金融</title>
		<link href="../../../css/common.css" type="text/css" rel="stylesheet">
		<link href="../../../css/base.css" type="text/css" rel="stylesheet">
		<link href="../../../res/png/icon.png" rel="shortcut icon" />
		<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />
		<link rel="stylesheet" type="text/css" href="verifyDisbursement.css" />
		<link rel="stylesheet" type="text/css" href="../../../js/FlexBox/css/jquery.flexbox.css" />
		<link rel="stylesheet" type="text/css" href="../../../component/layer/skin/layer.css"/>
	</head>

	<body>
		<div class="wrapper">
			<!-- 顶部菜单栏 -->
			<div id="header" class="header">
			</div>
			<div class="main" id="main">
				<!-- 左侧菜单栏 -->
				<div id="leftMenu" class="left"></div>
				<div class="pages">
					<div action="verifiDisbursementMoneyStatement" version="v1.0" class="page" id="verifyDisbursement">
						<p class="table-head">
							<label class="table-title">当前位置:付款核销</label>
						</p>
						<div>
							<div class="dataLine">
								<input type="hidden" name="billReceivableId" />
								<div>付款银行：<input isNull="1" codeName="融资批次" type="hidden" name="loansMoneyId" /><input type="text" isNULL="1" codeName="付款银行" name="disbursementBank"/></div>
								<div>付款卡号：<input type="text" isNULL="1" codeName="付款卡号" name="disbursementCreditCard"/></div>
								<div>付款人：<input type="text" isNULL="1" codeName="付款人" name="disbursementName"/></div>
							</div>
							<div class="dataLine">
								<div>付款单位：<input type="text" isNULL="1" codeName="付款人" name="drawee"/></div>
								<div>付款账户：<select name="accountInfoId"></select></div>
								<div>收款单位：<div style="display: inline-block;" class="receiptNameDiv"></div><input type="hidden" name="payee"/></div>
							</div>
							<div class="dataLine">
								<div>收款卡号：<input class="receiptCreditCard" type="text" isNULL="1" codeName="收款卡号" name="receiptCreditCard"/></div>
								<div>收款人：<input type="text" isNULL="1" codeName="收款人" name="receiptName"/></div>
								<div>收款银行：<input class="receiptBank" type="text" isNULL="1" codeName="收款银行" name="receiptBank"/></div>
							</div>
							<div class="dataLine">
								<div>付款流水号：<input type="text" isNULL="1" codeName="付款流水号" name="writeoffNumber"/></div>
								<div>核销金额：<input type="hidden" name="balance" value="0" /><input readonly="readonly" type="text" isNULL="1" codeName="核销金额" name="writeoffAmount"/></div>
								<div>核销时间：<input readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});" type="text" isNULL="1" codeName="核销时间" name="writeoffDateTime"/></div>
							</div>
							<div class="dataLine none">
								<div>余额：<input type="text" name="balance"/></div>
								<div></div>
								<div></div>
							</div>
							
							
							<div class="dataLine" style="margin-left: 86px;">
								核销备注：<textarea name="writeoffRemark" isNULL="1" codeName="核销备注">-</textarea>
							</div>
							<div class="loan_info4" style="margin-top: 15px">
								<span style="margin-left: 15px;">核销凭证：</span>
								<input id="verifyIntro" class="none" type="file" name="file">
								<input class="fileUuids" type="hidden" name="fileUuid">
								<label class="verifyIntro" for="verifyIntro">添加</label>
							</div>
							<div class="financeBatch"></div>
							<a class="table-btn" id="attachFinancingBatch">关联融资批次</a>
							<a class="table-btn" id="addDisbursementBtn">添加付款流水</a>
							<div class="verifyList">
								<table class="table none" id="verifyDisburseListBody">
									<tr>
										<th>收支单号</th>
										<th>融资单号</th>
										<th>单证类型</th>
										<th>应付金额</th>
										<th>余额</th>
										<th>收付款时间</th>
										<th>收款方 </th>
										<th>核销金额</th>
										<th>操作</th>
									</tr>
								</table>
								<div class="pagerCon"></div>
							</div>
							<script type="text/template" id="verifyDisburseListTpl">
								<tr>
									<th>收支单号</th>
									<th>融资单号</th>
									<th>单证类型</th>
									<th>应付金额</th>
									<th>余额</th>
									<th>收付款时间</th>
									<th>收款方 </th>
									<th>核销金额</th>
									<th>操作</th>
								</tr>
								{@each datas as it}
								{@each it.financeMoneyStatementList as item}
									<tr>
										<td>${item.statementNumber}</td>
										<td>${item.financeNumber}</td>
										<td>付款</td>
										<td>${item.amount}</td>
										<td>${item.disbursementBalance}</td>
										<td>${item.statementDate}</td>
										<td>${item.receiptName}</td>
										<td>${item.disbursementAmount}</td>
										<td></td>
									</tr>
								{@/each}
								{@/each}
							</script>
						</div>
						<a id="verifyDisbursementSubmit" href="javascript:void(0)">确定</a>
					</div>
				</div>
				<div id="popdialog"></div>
			</div>
			<!-- 底部 -->
			<div id="footer" class="none footer">
			</div>
			<!--删除确认框-->
			<div class="dialog none" id="confirmDialog" style="width:300px;">
				<div class="dialogTitle"></div>
				<button class="closeDiv">×</button>
				<div class="dialogContent">
				</div>
				<div class="footerBtn">
					<div class="dialogBtn dialogHandlerBtn">确定</div>
				</div>
			</div>
			<div id="fullBg" class="fullBg none"></div>
			<div id="popdialog">
			</div>
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script src="../../../component/layer/layer.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/platform/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../../js/FlexBox/js/jquery.flexbox.js"></script>
		<script type="text/javascript">
			seajs.use('./verifyDisbursement', function(verifyDisbursement) {
				verifyDisbursement.init();
			});
		</script>
	</body>

</html>